Programming With QuickTime Sprites

| Previous | Chapter Contents | Chapter Top | Next |

Operands for Sprites in a Sprite Track

kOperandSpriteBoundsLeft
No Params

The left side of the target sprite's bounding box in its track's local coordinate system is returned.

kOperandSpriteBoundsTop
No Params

The top of the target sprite's bounding box in its track's local coordinate system is returned.

kOperandSpriteBoundsRight
No Params

The right side of the target sprite's bounding box in its track's local coordinate system is returned.

kOperandSpriteBoundsBottom
No Params

The bottom of the target sprite's bounding box in its track's local coordinate system is returned.

kOperandSpriteImageIndex
No Params

The current image index of the target sprite is returned.

kOperandSpriteVisible
No Params

The current value of the target sprite's visible property is returned. The value is 1 if it is visible, and 0 if it is invisible.

kOperandSpriteLayer
No Params

The layer of the target sprite is returned.

kOperandSpriteID
No Params

The ID of the target sprite is returned. Note that if the ID has a value not expressable in a floating-point number, the results will not be the same.

kOperandSpriteIndex
No Params

The index of the target sprite is returned.

kOperandSpriteFirstCornerX
No Params

The x coordinate of the target sprite's first corner is returned.

kOperandSpriteFirstCornerY
No Params

The y coordinate of the target sprite's first corner is returned.

kOperandSpriteSecondCornerX
No Params

The x coordinate of the target sprite's second corner is returned.

kOperandSpriteSecondCornerY
No Params

The y coordinate of the target sprite's second corner is returned.

kOperandSpriteThirdCornerX
No Params

The x coordinate of the target sprite's third corner is returned.

kOperandSpriteThirdCornerY
No Params

The y coordinate of the target sprite's third corner is returned.

kOperandSpriteFourthCornerX
No Params

The x coordinate of the target sprite's fourth corner is returned.

kOperandSpriteFourthCornerY
No Params

The y coordinate of the target sprite's fourth corner is returned.

kOperandSpriteImageRegistrationPointX
No Params

The x coordinate of the target sprite's current image's registration point is returned.

kOperandSpriteImageRegistrationPointY
No Params

The y coordinate of the target sprite's current image's registration point is returned.


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |